package com.ruoyi.system;

import com.ruoyi.system.service.EmailService;
import com.ruoyi.system.service.ICompanyService;
import com.ruoyi.system.service.IEasyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Component("Task")
public class Task {

    @Autowired
    private EmailService emailService;
    public void Email(String emailTheme,String emailContent,String email){
            emailService.sendSimpleEmail(emailTheme,emailContent,email);
    }
}
